<template>
  <view class="notice-title u-p-t-20 u-p-b-20 u-flex u-row-between">
    <view class="notice-left">
      {{ title.title }}
    </view>
    <view v-if="more_show" class="notice-right u-flex" @click="jump(title.link)">
      <view class="right-text u-m-r-8"> 更多 </view>
      <u-icon name="arrow-right" size="20"></u-icon>
    </view>
  </view>
</template>

<script>
  export default {
    name: 'cell',
    data() {
      return {}
    },
    props: {
      title: Object,
      more_show: {
        type: Boolean,
        default: true,
      },
    },
  }
</script>

<style lang="scss" scoped>
  .notice-title {
    .notice-left {
      font-family: PingFangSC-Medium, PingFang SC;
      font-size: 36rpx;
      font-weight: 500;
      color: #015e78;
    }

    .notice-right {
      font-family: PingFangSC-Regular, PingFang SC;
      font-size: 28rpx;
      font-weight: 400;
      color: #999;
    }
  }
</style>
